Heat oil in a pan,add onions,tomatos,ginger,chilles and curry leaves and saute it.
Cool down in room temperature,after this grind it in a mixer grinder
heat oil in a fry pan,when heated add mustard seeds and urad dal and fry well
to this add the grinded mix and pour 2tbsp water and boil it until water evaporates.